package com.gdupt.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gdupt.entity.CustomerInfo;
import com.gdupt.mapper.CustomerInfoMapper;
import com.gdupt.service.ICustomerInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 客户信息 客户信息 服务实现类
 * </p>
 *
 * @author gdupt
 * @since 2018-11-21
 */
@Service
public class CustomerInfoServiceImpl extends ServiceImpl<CustomerInfoMapper, CustomerInfo> implements ICustomerInfoService {
    @Autowired
    private CustomerInfoMapper customerInfoMapper;
    @Override
    public List<CustomerInfo> selectCustomerInfoPage(IPage page , String search) {
        return customerInfoMapper.selectPageVo(page,search);
    }
}
